package com.eastmoney.emis.edda.task;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.task
 * @author: 汪程程
 * @date: 2022/10/10 1:12 PM
 * @version: 1.0
 */
public abstract class AbstractTask {

    protected String name;

    protected String id;

    public AbstractTask() {
        this.name = getClass().getSimpleName();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "AbstractTask{" +
                "name='" + name + '\'' +
                ", id='" + id + '\'' +
                '}';
    }
}
